
import request from "@/common/request";
/**
 作者-杨光龙-代码开始
 *
 **/
const api = {
    //获取店铺接口
    GetshopList: (data = {}) => {
        return request({
            url: '/shop/shop/all',
            method: 'POST',
            data
        })
    },
    //获取订单接口
    GetgoodsList: (data = {}) => {
        return request({
            url: '/shop/order/lists',
            method: 'POST',
            data
        })
    },
    // 已完成笔记接口
    GetCompletedNotesAPI: (data = {}) => {
        return request({
            url: '/shop/OrderNotesPush/lists',
            method: 'POST',
            data
        })
    },
    // 已完成笔记接口H5
    GetCompletedNotesh5API: (data = {}) => {
        return request({
            url: '/api/OrderNotesPush/lists',
            method: 'POST',
            data
        })
    },
    // 已完成笔记详情接口
    GetCompletedNotesDetailsAPI: (data = {}) => {
        return request({
            url: '/shop/OrderNotesPush/detail',
            method: 'POST',
            data
        })
    },
    // 已完成笔记详情接口H5
    GetCompletedNotesDetailsh5API: (data = {}) => {
        return request({
            url: '/api/OrderNotesPush/detail',
            method: 'POST',
            data
        })
    },
    //结算明细接口
    GetSettlementDetails: (data = {}) => {
        return request({
            url: '/shop/ShopOrderSettlement/lists',
            method: 'POST',
            data
        })
    },
    //今日业绩接口
    GetTodayPerformance: (data = {}) => {
        return request({
            url: '/shop/Statistics/getTodayStatistics',
            method: 'POST',
            data
        })
    },
    //订单明细接口
    GetOrderDetails: (data = {}) => {
        return request({
            url: '/shop/order/details',
            method: 'POST',
            data
        })
    },

    //获取用户信息
    GetshopInfo: (data = {}) => {
        return request({
            url: '/shop/user/info',
            method: 'POST',
            data
        })
    },
    //获取提现方式
    getTixianType: (data = {}) => {
        return request({
            url: '/shop/wallet/payMethod',
            method: 'POST',
            data
        })
    },

    //获取我的支付宝
    getaliPayinfo: (data = {}) => {
        return request({
            url: '/shop/wallet/alipayInfo',
            method: 'POST',
            data
        })
    },
    //余额提现
    Withdrawalofbalance: (data = {}) => {
        return request({
            url: '/shop/wallet/cashOut',
            method: 'POST',
            data
        })
    },
    //获取设置提现密码验证码
    GetTixianCode: (data = {}) => {
        return request({
            url: '/shop/user/handleCode',
            method: 'POST',
            data
        })
    },
    //换绑手机号
    changeBingPhine: (data = {}) => {
        return request({
            url: '/shop/user/changeTel',
            method: 'POST',
            data
        })
    },
    //绑定微信
    GetBindWechatAPI: (data = {}) => {
        return request({
            url: '/shop/user/bindWechat',
            method: 'POST',
            data
        })
    },
    //用户协议
    xieyipost: (data = {}) => {
        return request({
            url: '/api/common/userAgreement',
            method: 'POST',
            data
        })
    },
    //隐私政策
    yszcpost: (data = {}) => {
        return request({
            url: '/api/common/privacyAgreement',
            method: 'POST',
            data
        })
    },
    //获取客服链接
    GetcustomerService: (data = {}) => {
        return request({
            url: '/api/common/serviceUrl',
            method: 'POST',
            data
        })
    },
    /*修改提现密码API*/
    GetUpdateCashPasswordAPI: (data = {}) => {
        return request({
            url: '/shop/user/updateCashPassword',
            method: 'POST',
            data
        })
    },
    /*修改登录密码API*/
    GetUpdatePasswordAPI: (data = {}) => {
        return request({
            url: '/shop/user/updatePassword',
            method: 'POST',
            data
        })
    },
}

/**
 作者-杨光龙-代码开始
 *
 **/
export default api